package cn.edu.scau.cmi.shishuai.exercise9;

public class Example9_7 {

	public static void main(String[] args) {
		byte d[] = "Java你好".getBytes();
		System.out.println("数组d的长度是:" + d.length);
		String s = new String(d, 7, 3);
		System.out.println(s);
		s = new String(d, 0, 7);
		System.out.println(s);
	}

}
